#include "zos_config.h"

#ifdef BOARD_USING_I2C_OLED

#ifndef __OLED__H_
#define __OLED__H_

extern const unsigned char Qi[];
extern const unsigned char Shi[];
extern const unsigned char Zhi[];
extern const unsigned char Neng[];
extern const unsigned char Ke[];
extern const unsigned char Ji[];
extern const unsigned char wen[];
extern const unsigned char shi[];
extern const unsigned char du[];
extern const unsigned char zheng[];
extern const unsigned char que[];
extern const unsigned char ju[];
extern const unsigned char li[];
extern const unsigned char she[];
extern const unsigned char ding[];
extern const unsigned char tai[];
extern const unsigned char jin[];
extern const unsigned char yuan[];
extern const unsigned char zhi[];
extern const unsigned char cai[];
extern const unsigned char dan[];
extern const unsigned char sheng[];
extern const unsigned char yin[];
extern const unsigned char kai[];
extern const unsigned char guan[];
void oled_init(void);

void oled_send_byte(unsigned char byte);

void oled_set_address(unsigned char page, unsigned char column);

void oled_clear_screen(void);

void oled_clear_line(unsigned char x);

void oled_dis_128x64_picture(const unsigned char *dp);

void oled_dis_16x16_char(unsigned short page, unsigned short column, const unsigned char *dp);

void oled_dis_6x8_string(unsigned char x, unsigned char y, char *fmt, ...);

void oled_dis_8x16_string(unsigned char x, unsigned char y, char *fmt, ...);

void oled_dis_16x16_string(unsigned char x, unsigned char y, char *fmt, ...);

#endif


#endif

